// File: src/api/notice/types.ts
export interface NoticeVO {
  announId: number;
  title: string;
  fullContent: string;
  publisherName: string;
  publishTime: string;
  status: string;
  type: string;
  isPinned: number;
  receiveUserIds: number[];
}
export interface NoticeInsertVO {
  title: string; // 必填
  content: string; // 必填
  publisherId: number; // 必填
  status?: string; // 可选，允许值：'active' 或 'inactive'
  type?: string; // 可选，允许值：'system' 或 'sys_exam'
  isPinned?: number; // 可选
  userIds: number[]; // 必填
}

export interface NoticeQuery {
  pageNum: number;
  pageSize: number;
  title?: string;
  type?: string;
  status?: string;
  isPinned?: number;
  keyword?: string;
}